package mm.chenchen.modules.mh.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import mm.chenchen.modules.mh.entity.MhDecorationsInfo;
import mm.chenchen.modules.mh.entity.MhEquipmentInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import mm.chenchen.modules.mh.dao.model.request.MhEquipmentInfoQuery;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * @author
 * @email
 * @date 2021-09-17 15:17:44
 */
@Mapper
public interface MhEquipmentInfoDao extends BaseMapper<MhEquipmentInfo> {
    IPage<MhEquipmentInfo> findPage(@Param("page") Page<Map> page, @Param("param") MhEquipmentInfoQuery param);

    MhEquipmentInfo findDetailById(@Param("id") Long id);

}
